package co.yixiang.modules.shop.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import co.yixiang.common.entity.BaseEntity;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 业务员提成明细表
 * </p>
 *
 * @author hisen
 * @since 2020-06-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="YxSalesCommissionDetail对象", description="业务员提成明细表")
public class YxSalesCommissionDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

@TableId(value = "id", type = IdType.AUTO)
private Integer id;

@ApiModelProperty(value = "订单id")
private String orderId;

@ApiModelProperty(value = "认购金额")
private String investPrice;

@ApiModelProperty(value = "提成比例")
private String ratio;

@ApiModelProperty(value = "认购时间")
private Date investTime;

@ApiModelProperty(value = "提成金额")
private BigDecimal commission;

@ApiModelProperty(value = "认购者姓名")
private String investName;

@ApiModelProperty(value = "认购者电话")
private String investPhone;

@ApiModelProperty(value = "业务员id")
private Integer salesManId;

}
